package com.jerehedu.myapplication34.activity;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.ImageView;

import com.jerehedu.myapplication34.R;
import com.jerehedu.myapplication34.entrty.Book;

import java.util.ArrayList;
import java.util.List;

public class YunBookActivity extends AppCompatActivity {
    private ImageView img;
    private ImageView search;
    //mData从服务器端获取
    private List<Book> mData;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_yun_book);
        mData=new ArrayList<>();
        img=(ImageView)findViewById(R.id.img);
        search=(ImageView)findViewById(R.id.search);
        img.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                finish();
            }
        });
        search.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                //跳转到搜索界面
            }
        });
    }
}
